﻿namespace HuaWei.CommClass
{
    using System;
    using System.Runtime.CompilerServices;

    public class GQKK
    {

        private int num;

        private int num1;

        public GQKK()
        {
        }

        public GQKK(string value)
        {
            if (value.Equals(""))
            {
                this.GQ = 3;
                this.KHJDQ = 1;
            }
            else
            {
                string[] strArray = value.Split(new char[] { '#' });
                this.GQ = Convert.ToInt16(strArray[0]);
                this.KHJDQ = Convert.ToInt16(strArray[1]);
            }
        }

        public override string ToString()
        {
            return (this.GQ.ToString() + "#" + this.KHJDQ.ToString());
        }

        public int GQ
        {
    
            get
            {
                return this.num;
            }
    
            set
            {
                this.num = value;
            }
        }

        public int KHJDQ
        {
    
            get
            {
                return this.num1;
            }
    
            set
            {
                this.num1 = value;
            }
        }
    }
}

